package com.lazy.book.pojo.system.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * <p>
 * SysEmail添加DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-07-02
 */
@Data
@Schema(description = "SysEmail添加DTO")
public class SysEmailCreateDTO {

   @Schema(description =  "")
   private Integer enterpriseId;

   @Schema(description =  "邮件主题")
   private String emailTitle;

   @Schema(description =  "邮件内容")
   private String emailContent;

   @Schema(description =  "发件邮箱")
   private String fromEmail;

   @Schema(description =  "收件邮箱")
   private String toEmail;

   @Schema(description =  "邮件是否已经发送，1发送，0未发送 2出现错误")
   private Integer state;

   @Schema(description =  "是否已读标志 1是未读 2是已读")
   private Integer status;

   @Schema(description =  "")
   private String createBy;

   @Schema(description =  "")
   private String updateBy;

   @Schema(description =  "发布时间")
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private LocalDateTime publishdate;

   @Schema(description =  "发布给")
   private String publishby;

   @Schema(description =  "可见")
   private String orgids;

   @Schema(description =  "是否是企业信息 0 否 1是")
   private Integer isEnterprise;

   @Schema(description =  "抄送邮箱")
   private String copyEmail;

}